// web端样式
.web-container {
    .indexBanner {
        width: 100%;
        height: 560px;
    }

    .section_content {

        // 祖先牌位
        .ancestralBanner {
            width: 100%;
            height: 576px;
        }

        // 祖先祭祀
        .worshipBox {
            display: flex;
            justify-content: center;

            .newsItem {
                width: 503px;
                height: 710px;
                background-repeat: no-repeat;
                background-size: contain;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                padding: 40px 40px 40px;
                box-sizing: border-box;
                margin: 0px 23px 0px;

                .box {
                    width: 100%;
                    display: flex;
                    justify-content: flex-end;

                    .newsArrow {
                        width: 50px;
                        height: 50px;
                        background: #ffffff;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;

                        .el-icon-right {
                            font-size: 30px;
                            color: #000000;
                        }
                    }
                }
            }
        }

        // 活動總覽
        .swiper-container-activities {

            .topImg {
                width: 372px;
                height: 372px;
            }

            .bottomMsg {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-top: 10px;

                .pageH5 {
                    margin: 28px 0px 16px;
                }
            }
        }

        // 日历
        .calendar {
            display: flex;
            justify-content: space-between;

            .left {
                background-image: url("@/assets/images/serives/nongli.png");
                background-repeat: no-repeat;
                background-size: contain;
            }

            .right {
                background-image: url("@/assets/images/serives/guoli.png");
                background-repeat: no-repeat;
                background-size: contain;
            }

            .calendarItem {
                width: 775px;
                height: 330px;
                display: flex;
                justify-content: space-between;
                padding: 40px 60px 70px 40px;
                box-sizing: border-box;
                cursor: pointer;

                .topName {
                    font-weight: bold;
                    font-size: 60px;
                    color: #202020;
                }

                .timeAndshi {
                    .shiTop {
                        display: flex;

                        .yi {
                            display: flex;
                            align-items: center;
                            margin: 0px 14px 0px;

                            .yiBox {
                                width: 30px;
                                height: 30px;
                                background: #24a33b;
                                border-radius: 50%;
                                font-weight: 500;
                                font-size: 16px;
                                color: #ffffff;
                                text-align: center;
                                line-height: 30px;
                            }

                            .text {
                                margin-left: 8px;
                                font-weight: 500;
                                font-size: 16px;
                                color: #555555;
                            }

                            .jiBox {
                                width: 30px;
                                height: 30px;
                                background: #a32424;
                                border-radius: 50%;
                                font-weight: 500;
                                font-size: 16px;
                                color: #ffffff;
                            }
                        }
                    }

                    .time {
                        margin-top: 55px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        .month {
                            font-weight: 800;
                            font-size: 65px;
                            color: #000000;
                            margin-bottom: 20px;
                        }

                        .other {
                            font-weight: bold;
                            font-size: 32px;
                            color: #202020;
                        }
                    }
                }
            }
        }

        // 服務諮詢
        .serivesContainer {
            :deep .el-collapse {
                border: none;

                .el-collapse-item {
                    margin: 10px 0px 10px;

                    .el-collapse-item__header {
                        font-weight: 500;
                        font-size: 20px;
                        color: #000000;
                        padding: 40px 40px 40px 40px;
                        border-radius: 20px;
                        border: none;
                    }

                    .el-collapse-item__header.is-active {
                        border-bottom-left-radius: 0px;
                        border-bottom-right-radius: 0px;
                    }

                    .el-collapse-item__content {
                        font-weight: 500;
                        font-size: 20px;
                        color: #555555;
                        padding: 0px 100px 40px 40px;
                    }

                    .el-collapse-item__wrap {
                        border-radius: 0px 0px 20px 20px;
                    }
                }
            }
        }

        // 设置牌位
        .card {
            display: flex;
            justify-content: space-between;

            .cardItem {
                width: 507px;
                padding: 50px 0px 13px;
                background-color: #FFFFFF;
                border-radius: 20px;
                display: flex;
                flex-direction: column;
                align-items: center;

                .cardArrow {
                    width: 50px;
                    height: 50px;
                    background: #343434;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 47px 0px 52px;

                    .el-icon-right {
                        font-size: 30px;
                        color: #FFFFFF;
                    }
                }

                .cardImage {
                    width: 392px;
                    height: 450px;
                }
            }
        }
    }

    // 弹窗
    :deep .el-dialog {
        border-radius: 20px;

        .el-dialog__headerbtn .el-dialog__close {
            font-weight: 800;
            font-size: 35px;
            width: 59px;
            height: 59px;
            background-color: #999999;
            border-radius: 50%;
            color: #ffffff;
            line-height: 59px;
        }

        .dialogBox {
            margin: 44px 80px 100px;



            .dialogContent {
                margin-top: 58px;
                padding: 40px 20px 80px 20px;
                background-color: #f5f5f7;

                .dialogExplain {
                    .explainContent {
                        font-weight: bold;
                        font-size: 26px;
                        color: #555555;
                    }

                    .item {
                        margin-bottom: 100px;

                        .explainImg {
                            margin: 40px 0px 40px 0px;
                            display: flex;
                            // justify-content: space-between;

                            .img {
                                width: 413px;
                                height: 356px;
                                background-color: #d9d9d9;
                                border-radius: 20px;
                                margin-left: 20px;
                            }
                        }
                    }
                }
            }
        }
    }
}

// mobile端样式
.mobile-container {
    .indexBanner {
        width: 100%;
    }

    .section_content {

        // 祖先牌位
        .ancestralBanner {
            width: 100%;
            height: 170px;
        }

        // 祖先祭祀
        .swiper-container-news {
            .swiper-slide {
                .newsItem {
                    position: relative;
                    height: 210px;

                    .mesg {
                        position: absolute;
                        top: 0;
                        padding: 14px 16px 16px 14px;
                        box-sizing: border-box;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;

                        .box {
                            display: flex;
                            justify-content: flex-end;

                            .newsArrow {
                                width: 20px;
                                height: 20px;
                                background: #ffffff;
                                border-radius: 50%;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                cursor: pointer;

                                .el-icon-right {
                                    font-size: 10px;
                                    color: #000000;
                                }
                            }
                        }
                    }
                }
            }
        }


        // 活動總覽
        .swiper-container-activities {
            .topImg {
                width: 100%;
                height: 210px;

                :deep .el-image__inner {
                    border-radius: 10px;
                }
            }

            .bottomMsg {
                .pageH3 {
                    margin-top: 5px;
                }

                .pageH5 {
                    margin: 5px 0px 5px;
                }

                .redButton {
                    margin: auto;
                }
            }
        }

        // 日历
        .calendar {
            display: flex;
            flex-direction: column;

            .left {
                background-image: url("@/assets/images/serives/left.jpg");
                background-repeat: no-repeat;
                background-size: cover;
                margin-bottom: 9px;
            }

            .right {
                background-image: url("@/assets/images/serives/right.jpg");
                background-repeat: no-repeat;
                background-size: cover;
            }

            .calendarItem {
                width: 100%;
                height: 150px;
                display: flex;
                justify-content: space-between;
                padding: 16px ;
                box-sizing: border-box;
                border-radius: 10px;

                .topName {
                    font-weight: bold;
                    font-size: 14px;
                    color: #202020;
                }

                .timeAndshi {
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-end;

                    .shiTop {
                        display: flex;
                        margin-bottom: 21px;

                        .yi {
                            display: flex;
                            align-items: center;
                            margin: 0px 14px 0px;

                            .yiBox {
                                width: 20px;
                                height: 20px;
                                background: #24a33b;
                                border-radius: 50%;
                                font-weight: 500;
                                font-size: 12px;
                                color: #ffffff;
                                text-align: center;
                                line-height: 20px;
                            }

                            .text {
                                margin-left: 8px;
                                font-weight: 500;
                                font-size: 12px;
                                color: #555555;
                            }

                            .jiBox {
                                width: 20px;
                                height: 20px;
                                background: #a32424;
                                border-radius: 50%;
                                font-weight: 500;
                                font-size: 12px;
                                color: #ffffff;
                            }
                        }
                    }

                    .time {
                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        .month {
                            font-size: 24px;
                            font-weight: 800;
                            color: #000000;
                            margin-bottom: 10px;
                        }

                        .other {
                            font-size: 20px;
                            font-weight: bold;
                            color: #202020;
                        }
                    }
                }
            }
        }

        // 服務諮詢
        .serivesContainer {
            :deep .el-collapse {
                // border: none;

                .el-collapse-item {
                    // margin: 10px 0px 10px;

                    .el-collapse-item__header {
                        font-size: 14px;
                        color: #000000;
                    }

                    .el-collapse-item__content {
                        font-size: 14px;
                        color: #555555;
                    }
                }
            }
        }

        // 设置牌位
        .swiper-container {
            .swiper-slide {
                .cardItem {
                    width: 100%;
                    padding: 24px 0px 6px;
                    background-color: #F5F5F7;
                    border-radius: 10px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    .cardArrow {
                        width: 20px;
                        height: 20px;
                        background: #343434;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 10px 0px 12px;

                        .el-icon-right {
                            font-size: 16px;
                            color: #FFFFFF;
                        }
                    }

                    .cardImage {
                        width: 80px;
                        height: 118px;
                    }
                }
            }
        }
    }

    // 弹窗
    :deep .el-dialog {
        border-radius: 10px;

        .el-dialog__headerbtn .el-dialog__close {
            font-weight: 800;
            font-size: 15px;
            width: 25px;
            height: 25px;
            background-color: #999999;
            border-radius: 50%;
            color: #ffffff;
            line-height: 25px;
        }

        .el-dialog__body {
            padding: 0px 20px;
        }

        .dialogBox {
            margin: 16px 16px 20px;

            .PopupTitle {
                text-align: center;
            }

            .dialogContent {
                padding: 16px 0px 20px;

                .dialogExplain {
                    .explainContent {
                        font-weight: bold;
                        font-size: 26px;
                        color: #555555;
                    }

                    .item {
                        margin-bottom: 14px;

                        .explainImg {
                            display: flex;
                            justify-content: space-between;

                            .img {
                                width: 136px;
                                height: 107px;
                                margin: 14px 10px 16px 0px;
                                background-color: #d9d9d9;
                                border-radius: 10px;
                            }
                        }
                    }
                }

                .redButton {
                    margin: auto;
                }
            }
        }
    }
}

// ipad端样式
.ipad-container {}